package ie.timalb.chess.main.core.movement.types;

import ie.timalb.chess.main.core.Board;
import ie.timalb.chess.main.core.Turn;
import ie.timalb.chess.main.core.movement.Movement;

public class OneSquareForwardMovement extends TypeOfMovement{

	public boolean isThisMovement(Turn turn, Movement mov, Board board) {
		boolean result=false;		
		
		if (mov.getDeltaXBasedOnColor()==0 && mov.getDeltaYBasedOnColor()==1){
			result = true;
		}
		return result;
	}

}
